<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- text-algin可以应用于1.文本、2.span标签 a标签、3.input标签、img标签 -->
    <style>
        h1 {
            text-align: right;
        }
        /* 图片在body里面所以用body标签  图片本身就是img */
        body {
            text-align: center;
        }
    </style>
</head>
<body>
    <h1>
        新闻标签
    </h1>
    <img src="../桃跑项目/img/图标4.png" alt="">
</body>
</html>